from pycoingecko import CoinGeckoAPI
cg = CoinGeckoAPI()
# results= cg.get_exchanges_id_name_list()
# print(results)
# res  = cg.get_exchanges_by_id('ETH-USDT-SWAP')
# print(res)

res  = cg.get_derivatives()
# print(res)
for item in res:
    if item['symbol']== 'ETH-USDT-SWAP':
        print(item)
